package com.itzhanshen.easyexcel;

import com.alibaba.excel.EasyExcel;
import com.alibaba.excel.read.listener.ReadListener;

import java.io.File;

public class EasyExcelDemo {
    public static void main(String[] args) {
        // 读取excel
        EasyExcel.read(new File("D:/2.xls"), Emp.class, new EmpParseListener())
                .sheet(0).doRead();

    }
}
